package com.songlanyun.modules.workPolicy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.workPolicy.entity.WorkPolicy;

import java.util.Map;


public interface WorkPolicyService extends IService<WorkPolicy> {


    PageUtils queryPage(Map<String, Object> params);

    WorkPolicy loadById(Integer id, boolean hasThrow);

    WorkPolicy add(WorkPolicy workPolicy);

    WorkPolicy update(WorkPolicy workPolicy);

    WorkPolicy info(Integer id);
}
